package main

import "fmt"

func main() {
	// true var
	a:=120
	//point var
	var ip *int
	//jiang a de di zhi fu gei ip
	ip = &a
	fmt.Printf("a的类型是：%T,值是：%v \n",a,a)
	fmt.Printf("&a的类型是：%T,值是：%v \n",&a,&a)

	fmt.Printf("ip的类型是：%T,值是：%v \n",ip,ip)
	fmt.Printf("*ip的类型是：%T,值是：%v \n",*ip,*ip)

	fmt.Printf("*&a的类型是：%T,值是：%v \n",*&a,*&a)

	fmt.Println(a,&a,*&a)
	fmt.Println(ip,&ip,*ip,*(&ip),&(*ip))

}
